package com.wangce.bean;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * ClassName: Dim
 * Description:
 * date: 2021/11/15 10:16
 *
 * @author 凡人
 * @since JDK 1.8
 */
public class Dim {
    private Long orderId;

    private String field;//日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    private String field2;//价格-优先级
    private Integer start2;
    private Integer end2;

    private String field3;//联系人.制单人.地址.电话
    private String msg;//内容

    private String content;//备注

    public Dim() {
    }

    public Dim(Long orderId, String field, Date startDate, Date endDate, String field2, Integer start2, Integer end2, String field3, String msg, String content) {
        this.orderId = orderId;
        this.field = field;
        this.startDate = startDate;
        this.endDate = endDate;
        this.field2 = field2;
        this.start2 = start2;
        this.end2 = end2;
        this.field3 = field3;
        this.msg = msg;
        this.content = content;
    }

    @Override
    public String toString() {
        return "Dim{" +
                "orderId=" + orderId +
                ", field='" + field + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", field2='" + field2 + '\'' +
                ", start2=" + start2 +
                ", end2=" + end2 +
                ", field3='" + field3 + '\'' +
                ", msg='" + msg + '\'' +
                ", content='" + content + '\'' +
                '}';
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2;
    }

    public Integer getStart2() {
        return start2;
    }

    public void setStart2(Integer start2) {
        this.start2 = start2;
    }

    public Integer getEnd2() {
        return end2;
    }

    public void setEnd2(Integer end2) {
        this.end2 = end2;
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
